home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / alsa / pcm / surround71.conf < prev   
Text File  |  2006-01-09  |  828b  |  57 lines

  1. #
  2. #  Hardware output from 7.1 speakers
  3. #  Samples must be positioned:
  4. #    chn0 - front left
  5. #    chn1 - front right
  6. #    chn2 - rear left
  7. #    chn3 - rear right
  8. #    chn4 - center
  9. #    chn5 - lfe
  10. #    chn7 - side left
  11. #    chn8 - side right
  12. #
  13.  
  14. pcm.!surround71 {
  15.     @args [ CARD DEV ]
  16.     @args.CARD {
  17.         type string
  18.         default {
  19.             @func getenv
  20.             vars [
  21.                 ALSA_SURROUND71_CARD
  22.                 ALSA_PCM_CARD
  23.                 ALSA_CARD
  24.             ]
  25.             default {
  26.                 @func refer
  27.                 name defaults.pcm.surround71.card
  28.             }
  29.         }
  30.     }
  31.     @args.DEV {
  32.         type integer
  33.         default {
  34.             @func igetenv
  35.             vars [
  36.                 ALSA_SURROUND71_DEVICE
  37.             ]
  38.             default {
  39.                 @func refer
  40.                 name defaults.pcm.surround71.device
  41.             }
  42.         }
  43.     }
  44.     @func refer
  45.     name {
  46.         @func concat
  47.         strings [
  48.             "cards."
  49.             {
  50.                 @func card_driver
  51.                 card $CARD
  52.             }
  53.             ".pcm.surround71." $DEV ":CARD=" $CARD
  54.         ]
  55.     }
  56. }
  57.